<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>


    // 解构并重命名
    let {hd:a,rn:b} = {rn:'react native',hd:'后盾'};
    console.log(a);
    console.log(b);

</script>


</body>
</html>